package com.eugenarium.account.client;

import com.eugenarium.account.persistence.domain.Account;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
//import org.springframework.stereotype.Component;

//@Component
public class StatisticsServiceClientFallback implements StatisticsServiceClient {

    private static final Logger LOGGER = LoggerFactory.getLogger(StatisticsServiceClientFallback.class);

    @Override
    public void updateStatistics(String accountName, Account account) {
        LOGGER.error("Error during update statistics for account: {}", accountName);
    }
}
